package com.ruoyi.project.business.monthsalary.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 月薪对象 schedule_month_salary
 * 
 * @author ${author}
 * @date 2024-02-20
 */
@Data
public class MonthSalaryResponse {
    /**  */
    private Long id;

    /** 用户ID */
    private Long userId;

    private String userName;
    private String nickName;

    /** 薪资月 */
    @Excel(name = "薪资月")
    private Integer month;

    /** 考勤年 */
    @Excel(name = "考勤年")
    private Integer year;

    /** 薪资计算日 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "薪资计算日", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date dueDate;

    /** 发薪日 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "发薪日", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date payDate;

    /** 实发金额 */
    @Excel(name = "实发金额")
    private BigDecimal amount;
}
